import Components from 'unplugin-vue-components/vite'
import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'

export default function createVueComponents() {
    return Components({
        resolvers: [ElementPlusResolver()],
        // resolvers: [],
        directoryAsNamespace: true
    })
}